package com.yimi.yinhepda.entity.message;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * 极光推送消息表
 *
 * @author 000432
 */
@DatabaseTable(tableName = "my_message") public class MyMessageBean {
  /** 主键 */
  @DatabaseField(generatedId = true, columnName = "id", canBeNull = false) private long id;
  /** 消息推送ID */
  @DatabaseField(columnName = "notification_id") private String notificationId;
  /** 标题 */
  @DatabaseField(columnName = "title") private String title;
  /** 推送时间 */
  @DatabaseField(columnName = "push_time") private String pushTime;
  /** 文本内容 */
  @DatabaseField(columnName = "content") private String content;
  /** 消息来源 */
  @DatabaseField(columnName = "msg_source") private String msgSource;
  /** 消息类型 */
  @DatabaseField(columnName = "msg_type") private String msgType;
  /** 消息URL */
  @DatabaseField(columnName = "msg_url") private String msgUrl;
  /** 图片名称 */
  @DatabaseField(columnName = "image_name") private String imageName;
  /** 图片URL */
  @DatabaseField(columnName = "image_url") private String imageUrl;
  /** 创建时间（yyyy-MM-dd HH:mm:ss） */
  @DatabaseField(columnName = "create_time") private String createTime;

  public MyMessageBean() {
  }

  public MyMessageBean(long id, String notificationId, String title, String pushTime, String content, String msgSource, String msgType, String msgUrl,
      String imageName, String imageUrl) {
    this.id = id;
    this.notificationId = notificationId;
    this.title = title;
    this.pushTime = pushTime;
    this.content = content;
    this.msgSource = msgSource;
    this.msgType = msgType;
    this.msgUrl = msgUrl;
    this.imageName = imageName;
    this.imageUrl = imageUrl;
  }

  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }

  public String getNotificationId() {
    return notificationId;
  }

  public void setNotificationId(String notificationId) {
    this.notificationId = notificationId;
  }

  public String getImageName() {
    return imageName;
  }

  public void setImageName(String imageName) {
    this.imageName = imageName;
  }

  public String getImageUrl() {
    return imageUrl;
  }

  public void setImageUrl(String imageUrl) {
    this.imageUrl = imageUrl;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getMsgSource() {
    return msgSource;
  }

  public void setMsgSource(String msgSource) {
    this.msgSource = msgSource;
  }

  public String getMsgType() {
    return msgType;
  }

  public void setMsgType(String msgType) {
    this.msgType = msgType;
  }

  public String getMsgUrl() {
    return msgUrl;
  }

  public void setMsgUrl(String msgUrl) {
    this.msgUrl = msgUrl;
  }

  public String getPushTime() {
    return pushTime;
  }

  public void setPushTime(String pushTime) {
    this.pushTime = pushTime;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }
}

